.class public abstract Lkairo/android/h/e;
.super Ljava/lang/Object;


# instance fields
.field protected a:Ljava/util/Vector;

.field protected b:I

.field private c:[Lkairo/android/h/f;

.field private d:[Lkairo/android/ui/r;

.field private e:[Lkairo/android/ui/o;

.field private f:[[I

.field private g:[Z

.field private h:Z

.field private i:[I

.field private j:I

.field private k:I


# direct methods
.method protected constructor <init>()V
    .locals 5

    const/4 v2, 0x0

    const/4 v4, 0x2

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    new-instance v0, Ljava/util/Vector;

    invoke-direct {v0}, Ljava/util/Vector;-><init>()V

    iput-object v0, p0, Lkairo/android/h/e;->a:Ljava/util/Vector;

    new-array v0, v2, [Lkairo/android/h/f;

    iput-object v0, p0, Lkairo/android/h/e;->c:[Lkairo/android/h/f;

    const/4 v0, -0x1

    iput v0, p0, Lkairo/android/h/e;->b:I

    const/4 v0, 0x4

    new-array v0, v0, [I

    iput-object v0, p0, Lkairo/android/h/e;->i:[I

    invoke-static {}, Lkairo/android/ui/IApplication;->a()Lkairo/android/ui/IApplication;

    move-result-object v0

    invoke-virtual {v0}, Lkairo/android/ui/IApplication;->l()I

    move-result v1

    invoke-virtual {v0}, Lkairo/android/ui/IApplication;->m()I

    move-result v3

    if-le v1, v3, :cond_0

    invoke-virtual {v0}, Lkairo/android/ui/IApplication;->l()I

    move-result v0

    move v1, v0

    :goto_0
    new-array v0, v4, [Lkairo/android/ui/r;

    iput-object v0, p0, Lkairo/android/h/e;->d:[Lkairo/android/ui/r;

    new-array v0, v4, [Lkairo/android/ui/o;

    iput-object v0, p0, Lkairo/android/h/e;->e:[Lkairo/android/ui/o;

    iget-object v0, p0, Lkairo/android/h/e;->d:[Lkairo/android/ui/r;

    array-length v0, v0

    filled-new-array {v0, v4}, [I

    move-result-object v0

    sget-object v3, Ljava/lang/Integer;->TYPE:Ljava/lang/Class;

    invoke-static {v3, v0}, Ljava/lang/reflect/Array;->newInstance(Ljava/lang/Class;[I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, [[I

    iput-object v0, p0, Lkairo/android/h/e;->f:[[I

    new-array v0, v4, [Z

    iput-object v0, p0, Lkairo/android/h/e;->g:[Z

    move v0, v2

    :goto_1
    iget-object v2, p0, Lkairo/android/h/e;->d:[Lkairo/android/ui/r;

    array-length v2, v2

    if-ge v0, v2, :cond_1

    iget-object v2, p0, Lkairo/android/h/e;->d:[Lkairo/android/ui/r;

    invoke-static {v1, v1}, Lkairo/android/ui/r;->b(II)Lkairo/android/ui/r;

    move-result-object v3

    aput-object v3, v2, v0

    iget-object v2, p0, Lkairo/android/h/e;->e:[Lkairo/android/ui/o;

    iget-object v3, p0, Lkairo/android/h/e;->d:[Lkairo/android/ui/r;

    aget-object v3, v3, v0

    invoke-virtual {v3}, Lkairo/android/ui/r;->c()Lkairo/android/ui/o;

    move-result-object v3

    aput-object v3, v2, v0

    add-int/lit8 v0, v0, 0x1

    goto :goto_1

    :cond_0
    invoke-virtual {v0}, Lkairo/android/ui/IApplication;->m()I

    move-result v0

    move v1, v0

    goto :goto_0

    :cond_1
    return-void
.end method

.method private k()[I
    .locals 13

    const/4 v12, 0x3

    const/4 v11, 0x2

    const/4 v10, 0x1

    const/high16 v0, -0x80000000

    const/4 v2, 0x0

    iget-object v7, p0, Lkairo/android/h/e;->i:[I

    iget-object v1, p0, Lkairo/android/h/e;->a:Ljava/util/Vector;

    invoke-virtual {v1}, Ljava/util/Vector;->size()I

    move-result v1

    if-nez v1, :cond_0

    aput v2, v7, v12

    aput v2, v7, v11

    aput v2, v7, v10

    aput v2, v7, v2

    move-object v0, v7

    :goto_0
    return-object v0

    :cond_0
    const v3, 0x7fffffff

    const v1, 0x7fffffff

    move v4, v1

    move v5, v0

    move v6, v3

    move v3, v0

    move v1, v2

    :goto_1
    iget-object v0, p0, Lkairo/android/h/e;->a:Ljava/util/Vector;

    invoke-virtual {v0}, Ljava/util/Vector;->size()I

    move-result v0

    if-ge v1, v0, :cond_5

    iget-object v0, p0, Lkairo/android/h/e;->a:Ljava/util/Vector;

    invoke-virtual {v0, v1}, Ljava/util/Vector;->elementAt(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lkairo/android/h/a;

    invoke-virtual {v0}, Lkairo/android/h/a;->j()I

    move-result v8

    if-ge v8, v6, :cond_1

    invoke-virtual {v0}, Lkairo/android/h/a;->j()I

    move-result v6

    :cond_1
    invoke-virtual {v0}, Lkairo/android/h/a;->k()I

    move-result v8

    if-ge v8, v4, :cond_2

    invoke-virtual {v0}, Lkairo/android/h/a;->k()I

    move-result v4

    :cond_2
    invoke-virtual {v0}, Lkairo/android/h/a;->j()I

    move-result v8

    invoke-virtual {v0}, Lkairo/android/h/a;->l()I

    move-result v9

    add-int/2addr v8, v9

    if-le v8, v5, :cond_3

    invoke-virtual {v0}, Lkairo/android/h/a;->j()I

    move-result v5

    invoke-virtual {v0}, Lkairo/android/h/a;->l()I

    move-result v8

    add-int/2addr v5, v8

    :cond_3
    invoke-virtual {v0}, Lkairo/android/h/a;->k()I

    move-result v8

    invoke-virtual {v0}, Lkairo/android/h/a;->m()I

    move-result v9

    add-int/2addr v8, v9

    if-le v8, v3, :cond_4

    invoke-virtual {v0}, Lkairo/android/h/a;->k()I

    move-result v3

    invoke-virtual {v0}, Lkairo/android/h/a;->m()I

    move-result v0

    add-int/2addr v3, v0

    :cond_4
    add-int/lit8 v0, v1, 0x1

    move v1, v0

    goto :goto_1

    :cond_5
    aput v6, v7, v2

    aput v4, v7, v10

    sub-int v0, v5, v6

    aput v0, v7, v11

    sub-int v0, v3, v4

    aput v0, v7, v12

    move-object v0, v7

    goto :goto_0
.end method


# virtual methods
.method public final a()Ljava/util/Vector;
    .locals 1

    iget-object v0, p0, Lkairo/android/h/e;->a:Ljava/util/Vector;

    return-object v0
.end method

.method public final a(Lkairo/android/ui/o;)V
    .locals 3

    const/4 v2, 0x0

    move v1, v2

    :goto_0
    sget-object v0, Lkairo/android/h/h;->j:Lkairo/android/i/e;

    iget v0, v0, Lkairo/android/i/e;->b:I

    if-ge v1, v0, :cond_0

    sget-object v0, Lkairo/android/h/h;->j:Lkairo/android/i/e;

    iget-object v0, v0, Lkairo/android/i/e;->c:[Ljava/lang/Object;

    aget-object v0, v0, v1

    check-cast v0, Lkairo/android/h/h;

    iput-boolean v2, v0, Lkairo/android/h/h;->i:Z

    add-int/lit8 v0, v1, 0x1

    move v1, v0

    goto :goto_0

    :cond_0
    iget-object v0, p0, Lkairo/android/h/e;->a:Ljava/util/Vector;

    invoke-virtual {v0}, Ljava/util/Vector;->size()I

    move-result v0

    add-int/lit8 v0, v0, -0x1

    move v1, v0

    :goto_1
    if-ltz v1, :cond_1

    iget-object v0, p0, Lkairo/android/h/e;->a:Ljava/util/Vector;

    invoke-virtual {v0, v1}, Ljava/util/Vector;->elementAt(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lkairo/android/h/a;

    invoke-virtual {v0, p1}, Lkairo/android/h/a;->a(Lkairo/android/ui/o;)V

    add-int/lit8 v0, v1, -0x1

    move v1, v0

    goto :goto_1

    :cond_1
    return-void
.end method

.method public final a(Z)V
    .locals 29

    invoke-static {}, Lkairo/android/ui/IApplication;->a()Lkairo/android/ui/IApplication;

    move-result-object v6

    invoke-static {}, Lkairo/android/ui/a;->a()Lkairo/android/ui/a;

    move-result-object v4

    invoke-virtual {v4}, Lkairo/android/ui/a;->p()Lkairo/android/h/e;

    move-result-object v4

    invoke-virtual {v6}, Lkairo/android/ui/IApplication;->r()Z

    move-result v5

    if-nez v5, :cond_1

    :cond_0
    :goto_0
    return-void

    :cond_1
    move-object/from16 v0, p0

    iget v7, v0, Lkairo/android/h/e;->b:I

    invoke-virtual {v6}, Lkairo/android/ui/IApplication;->o()Z

    move-result v5

    if-eqz v5, :cond_0

    invoke-virtual {v6}, Lkairo/android/ui/IApplication;->n()I

    move-result v5

    move-object/from16 v0, p0

    iput v5, v0, Lkairo/android/h/e;->b:I

    const/4 v5, -0x1

    if-eq v7, v5, :cond_0

    invoke-virtual {v6}, Lkairo/android/ui/IApplication;->n()I

    move-result v5

    if-eq v7, v5, :cond_0

    if-eqz v4, :cond_0

    if-nez p1, :cond_0

    const/4 v4, 0x1

    move-object/from16 v0, p0

    iput-boolean v4, v0, Lkairo/android/h/e;->h:Z

    const/4 v4, 0x0

    move v5, v4

    :goto_1
    move-object/from16 v0, p0

    iget-object v4, v0, Lkairo/android/h/e;->a:Ljava/util/Vector;

    invoke-virtual {v4}, Ljava/util/Vector;->size()I

    move-result v4

    if-ge v5, v4, :cond_2

    move-object/from16 v0, p0

    iget-object v4, v0, Lkairo/android/h/e;->a:Ljava/util/Vector;

    invoke-virtual {v4, v5}, Ljava/util/Vector;->elementAt(I)Ljava/lang/Object;

    move-result-object v4

    check-cast v4, Lkairo/android/h/a;

    invoke-virtual {v4}, Lkairo/android/h/a;->f()V

    add-int/lit8 v4, v5, 0x1

    move v5, v4

    goto :goto_1

    :cond_2
    :try_start_0
    invoke-virtual {v6}, Lkairo/android/ui/IApplication;->n()I

    move-result v13

    move-object/from16 v0, p0

    iget-object v4, v0, Lkairo/android/h/e;->d:[Lkairo/android/ui/r;

    if-eqz v4, :cond_3

    invoke-static {}, Lkairo/android/ui/a;->a()Lkairo/android/ui/a;

    move-result-object v18

    invoke-static {}, Lkairo/android/ui/IApplication;->a()Lkairo/android/ui/IApplication;

    move-result-object v19

    invoke-virtual/range {v19 .. v19}, Lkairo/android/ui/IApplication;->q()Lkairo/android/a/b;

    move-result-object v20

    sget v4, Landroid/os/Build$VERSION;->SDK_INT:I

    const/16 v5, 0xb

    if-lt v4, v5, :cond_4

    const/4 v4, 0x1

    :goto_2
    if-eqz v4, :cond_5

    invoke-virtual/range {p0 .. p0}, Lkairo/android/h/e;->j()V
    :try_end_0
    .catch Ljava/lang/Throwable; {:try_start_0 .. :try_end_0} :catch_1

    :cond_3
    :goto_3
    const/4 v4, 0x0

    move-object/from16 v0, p0

    iput-boolean v4, v0, Lkairo/android/h/e;->h:Z

    goto :goto_0

    :cond_4
    const/4 v4, 0x0

    goto :goto_2

    :cond_5
    :try_start_1
    move-object/from16 v0, p0

    iget-object v4, v0, Lkairo/android/h/e;->d:[Lkairo/android/ui/r;

    const/4 v5, 0x0

    aget-object v4, v4, v5

    if-nez v4, :cond_8

    invoke-virtual/range {v19 .. v19}, Lkairo/android/ui/IApplication;->l()I

    move-result v4

    invoke-virtual/range {v19 .. v19}, Lkairo/android/ui/IApplication;->m()I

    move-result v5

    if-le v4, v5, :cond_6

    invoke-virtual/range {v19 .. v19}, Lkairo/android/ui/IApplication;->l()I

    move-result v4

    move v5, v4

    :goto_4
    const/4 v4, 0x2

    new-array v4, v4, [Lkairo/android/ui/r;

    move-object/from16 v0, p0

    iput-object v4, v0, Lkairo/android/h/e;->d:[Lkairo/android/ui/r;

    const/4 v4, 0x2

    new-array v4, v4, [Lkairo/android/ui/o;

    move-object/from16 v0, p0

    iput-object v4, v0, Lkairo/android/h/e;->e:[Lkairo/android/ui/o;

    move-object/from16 v0, p0

    iget-object v4, v0, Lkairo/android/h/e;->d:[Lkairo/android/ui/r;

    array-length v4, v4

    const/4 v6, 0x2

    filled-new-array {v4, v6}, [I

    move-result-object v4

    sget-object v6, Ljava/lang/Integer;->TYPE:Ljava/lang/Class;

    invoke-static {v6, v4}, Ljava/lang/reflect/Array;->newInstance(Ljava/lang/Class;[I)Ljava/lang/Object;

    move-result-object v4

    check-cast v4, [[I

    move-object/from16 v0, p0

    iput-object v4, v0, Lkairo/android/h/e;->f:[[I

    const/4 v4, 0x2

    new-array v4, v4, [Z

    move-object/from16 v0, p0

    iput-object v4, v0, Lkairo/android/h/e;->g:[Z

    const/4 v4, 0x0

    invoke-static {v4}, Lkairo/android/ui/r;->a(Z)V
    :try_end_1
    .catch Ljava/lang/Throwable; {:try_start_1 .. :try_end_1} :catch_1

    const/4 v4, 0x0

    :goto_5
    :try_start_2
    move-object/from16 v0, p0

    iget-object v6, v0, Lkairo/android/h/e;->d:[Lkairo/android/ui/r;

    array-length v6, v6

    if-ge v4, v6, :cond_7

    move-object/from16 v0, p0

    iget-object v6, v0, Lkairo/android/h/e;->d:[Lkairo/android/ui/r;

    invoke-static {v5, v5}, Lkairo/android/ui/r;->b(II)Lkairo/android/ui/r;

    move-result-object v8

    aput-object v8, v6, v4

    move-object/from16 v0, p0

    iget-object v6, v0, Lkairo/android/h/e;->e:[Lkairo/android/ui/o;

    move-object/from16 v0, p0

    iget-object v8, v0, Lkairo/android/h/e;->d:[Lkairo/android/ui/r;

    aget-object v8, v8, v4

    invoke-virtual {v8}, Lkairo/android/ui/r;->c()Lkairo/android/ui/o;

    move-result-object v8

    aput-object v8, v6, v4
    :try_end_2
    .catch Ljava/lang/Throwable; {:try_start_2 .. :try_end_2} :catch_0
    .catchall {:try_start_2 .. :try_end_2} :catchall_0

    add-int/lit8 v4, v4, 0x1

    goto :goto_5

    :cond_6
    :try_start_3
    invoke-virtual/range {v19 .. v19}, Lkairo/android/ui/IApplication;->m()I

    move-result v4

    move v5, v4

    goto :goto_4

    :cond_7
    const/4 v4, 0x1

    invoke-static {v4}, Lkairo/android/ui/r;->a(Z)V

    :cond_8
    :goto_6
    const/4 v4, 0x0

    :goto_7
    move-object/from16 v0, p0

    iget-object v5, v0, Lkairo/android/h/e;->f:[[I

    array-length v5, v5

    if-ge v4, v5, :cond_9

    move-object/from16 v0, p0

    iget-object v5, v0, Lkairo/android/h/e;->f:[[I

    aget-object v5, v5, v4

    const/4 v6, 0x0

    move-object/from16 v0, p0

    iget-object v8, v0, Lkairo/android/h/e;->f:[[I

    aget-object v8, v8, v4

    const/4 v9, 0x1

    const/4 v10, 0x0

    aput v10, v8, v9

    aput v10, v5, v6

    move-object/from16 v0, p0

    iget-object v5, v0, Lkairo/android/h/e;->g:[Z

    const/4 v6, 0x0

    aput-boolean v6, v5, v4
    :try_end_3
    .catch Ljava/lang/Throwable; {:try_start_3 .. :try_end_3} :catch_1

    add-int/lit8 v4, v4, 0x1

    goto :goto_7

    :catch_0
    move-exception v4

    :try_start_4
    invoke-virtual/range {p0 .. p0}, Lkairo/android/h/e;->j()V
    :try_end_4
    .catchall {:try_start_4 .. :try_end_4} :catchall_0

    const/4 v4, 0x1

    :try_start_5
    invoke-static {v4}, Lkairo/android/ui/r;->a(Z)V

    goto :goto_6

    :catch_1
    move-exception v4

    goto/16 :goto_3

    :catchall_0
    move-exception v4

    const/4 v5, 0x1

    invoke-static {v5}, Lkairo/android/ui/r;->a(Z)V

    throw v4

    :cond_9
    invoke-static {}, Lkairo/android/ui/a;->q()I

    move-result v9

    invoke-virtual/range {v18 .. v18}, Lkairo/android/ui/a;->r()I

    move-result v11

    rem-int/lit8 v4, v7, 0x2

    rem-int/lit8 v5, v13, 0x2

    if-ne v4, v5, :cond_a

    invoke-static {}, Lkairo/android/ui/a;->q()I

    move-result v11

    invoke-virtual/range {v18 .. v18}, Lkairo/android/ui/a;->r()I

    move-result v9

    invoke-virtual/range {v18 .. v18}, Lkairo/android/ui/a;->b()Lkairo/android/ui/o;

    move-result-object v4

    if-eqz v4, :cond_3

    const/4 v5, 0x0

    const/4 v6, 0x0

    const/4 v8, 0x0

    invoke-virtual {v4, v5, v6, v8}, Lkairo/android/ui/o;->b(III)V

    const/4 v5, 0x0

    const/4 v6, 0x0

    invoke-virtual/range {v18 .. v18}, Lkairo/android/ui/a;->getWidth()I

    move-result v8

    int-to-float v8, v8

    invoke-virtual/range {v18 .. v18}, Lkairo/android/ui/a;->getHeight()I

    move-result v10

    int-to-float v10, v10

    invoke-virtual {v4, v5, v6, v8, v10}, Lkairo/android/ui/o;->g(FFFF)V

    invoke-virtual/range {v18 .. v18}, Lkairo/android/ui/a;->d()V

    :cond_a
    rem-int/lit8 v4, v7, 0x2

    move-object/from16 v0, p0

    iput v4, v0, Lkairo/android/h/e;->j:I

    rem-int/lit8 v4, v13, 0x2

    move-object/from16 v0, p0

    iput v4, v0, Lkairo/android/h/e;->k:I

    move-object/from16 v0, p0

    iget-object v4, v0, Lkairo/android/h/e;->g:[Z

    move-object/from16 v0, p0

    iget v5, v0, Lkairo/android/h/e;->j:I

    const/4 v6, 0x1

    aput-boolean v6, v4, v5

    move-object/from16 v0, p0

    iget-object v4, v0, Lkairo/android/h/e;->d:[Lkairo/android/ui/r;

    move-object/from16 v0, p0

    iget v5, v0, Lkairo/android/h/e;->j:I

    aget-object v4, v4, v5

    move-object/from16 v0, p0

    iget-object v5, v0, Lkairo/android/h/e;->e:[Lkairo/android/ui/o;

    move-object/from16 v0, p0

    iget v6, v0, Lkairo/android/h/e;->j:I

    aget-object v5, v5, v6

    move-object/from16 v0, p0

    iget-object v6, v0, Lkairo/android/h/e;->f:[[I

    move-object/from16 v0, p0

    iget v8, v0, Lkairo/android/h/e;->j:I

    aget-object v6, v6, v8

    invoke-direct/range {p0 .. p0}, Lkairo/android/h/e;->k()[I

    move-result-object v8

    const/4 v10, 0x0

    const/4 v12, 0x2

    aget v12, v8, v12

    const/4 v14, 0x0

    aget v14, v8, v14

    sub-int/2addr v12, v14

    aput v12, v6, v10

    const/4 v10, 0x1

    const/4 v12, 0x3

    aget v12, v8, v12

    const/4 v14, 0x1

    aget v8, v8, v14

    sub-int v8, v12, v8

    aput v8, v6, v10

    move-object/from16 v0, v18

    invoke-virtual {v0, v5}, Lkairo/android/ui/a;->a(Lkairo/android/ui/o;)Lkairo/android/ui/o;

    move-result-object v5

    if-eqz v5, :cond_c

    if-eqz v20, :cond_b

    invoke-virtual/range {v20 .. v20}, Lkairo/android/a/b;->i()V

    :cond_b
    const/4 v8, 0x0

    const/4 v10, 0x0

    const/4 v12, 0x0

    invoke-virtual {v5, v8, v10, v12}, Lkairo/android/ui/o;->b(III)V

    const/4 v8, 0x0

    const/4 v10, 0x0

    invoke-virtual {v4}, Lkairo/android/ui/r;->e()I

    move-result v12

    int-to-float v12, v12

    invoke-virtual {v4}, Lkairo/android/ui/r;->d()I

    move-result v4

    int-to-float v4, v4

    invoke-virtual {v5, v8, v10, v12, v4}, Lkairo/android/ui/o;->g(FFFF)V

    const/4 v4, 0x0

    const/4 v8, 0x0

    const/4 v10, 0x0

    aget v10, v6, v10

    const/4 v12, 0x1

    aget v6, v6, v12

    invoke-virtual {v5, v4, v8, v10, v6}, Lkairo/android/ui/o;->b(IIII)V

    move-object/from16 v0, p0

    invoke-virtual {v0, v5}, Lkairo/android/h/e;->c(Lkairo/android/ui/o;)V

    move-object/from16 v0, v18

    invoke-virtual {v0, v5}, Lkairo/android/ui/a;->b(Lkairo/android/ui/o;)V

    invoke-virtual {v5}, Lkairo/android/ui/o;->t()V

    :cond_c
    mul-int/lit8 v4, v7, 0x5a

    mul-int/lit8 v5, v13, 0x5a

    sub-int v14, v4, v5

    rsub-int/lit8 v4, v14, 0x0

    int-to-float v10, v4

    const/4 v4, 0x0

    cmpg-float v4, v10, v4

    if-gez v4, :cond_d

    const/high16 v4, 0x43b40000    # 360.0f

    add-float/2addr v10, v4

    :cond_d
    const/high16 v4, 0x43340000    # 180.0f

    cmpl-float v4, v10, v4

    if-lez v4, :cond_e

    const/high16 v4, 0x43b40000    # 360.0f

    sub-float/2addr v10, v4

    :cond_e
    invoke-static {v10}, Ljava/lang/Math;->abs(F)F

    move-result v4

    float-to-int v4, v4

    mul-int/lit16 v4, v4, 0x514

    div-int/lit16 v5, v4, 0xb4

    const/16 v4, 0x28a

    if-le v5, v4, :cond_f

    const/16 v5, 0x28a

    :cond_f
    div-int/lit8 v8, v5, 0x2

    int-to-float v4, v14

    invoke-static {}, Ljava/lang/System;->currentTimeMillis()J

    move-result-wide v6

    move v15, v4

    move v12, v9

    move/from16 v27, v8

    move v8, v10

    move v10, v11

    move/from16 v28, v5

    move-wide v4, v6

    move/from16 v6, v27

    move/from16 v7, v28

    :goto_8
    invoke-virtual/range {v20 .. v20}, Lkairo/android/a/b;->o()Z

    move-result v16

    if-nez v16, :cond_3

    invoke-virtual/range {v19 .. v19}, Lkairo/android/ui/IApplication;->n()I

    move-result v16

    move/from16 v0, v16

    if-eq v13, v0, :cond_1d

    invoke-virtual/range {v19 .. v19}, Lkairo/android/ui/IApplication;->n()I

    move-result v4

    move-object/from16 v0, p0

    iput v4, v0, Lkairo/android/h/e;->b:I

    rem-int/lit8 v4, v13, 0x2

    invoke-virtual/range {v19 .. v19}, Lkairo/android/ui/IApplication;->n()I

    move-result v5

    rem-int/lit8 v5, v5, 0x2

    if-ne v4, v5, :cond_10

    invoke-virtual/range {v18 .. v18}, Lkairo/android/ui/a;->b()Lkairo/android/ui/o;

    move-result-object v4

    if-eqz v4, :cond_3

    const/4 v5, 0x0

    const/4 v6, 0x0

    const/4 v7, 0x0

    invoke-virtual {v4, v5, v6, v7}, Lkairo/android/ui/o;->b(III)V

    const/4 v5, 0x0

    const/4 v6, 0x0

    invoke-virtual/range {v18 .. v18}, Lkairo/android/ui/a;->getWidth()I

    move-result v7

    int-to-float v7, v7

    invoke-virtual/range {v18 .. v18}, Lkairo/android/ui/a;->getHeight()I

    move-result v8

    int-to-float v8, v8

    invoke-virtual {v4, v5, v6, v7, v8}, Lkairo/android/ui/o;->g(FFFF)V

    invoke-virtual/range {v18 .. v18}, Lkairo/android/ui/a;->d()V

    :cond_10
    move-object/from16 v0, p0

    iget v4, v0, Lkairo/android/h/e;->k:I

    move-object/from16 v0, p0

    iget v4, v0, Lkairo/android/h/e;->b:I

    rem-int/lit8 v4, v4, 0x2

    move-object/from16 v0, p0

    iput v4, v0, Lkairo/android/h/e;->k:I

    float-to-int v4, v15

    move-object/from16 v0, p0

    iget v5, v0, Lkairo/android/h/e;->b:I

    sub-int/2addr v5, v13

    mul-int/lit8 v5, v5, 0x5a

    sub-int v12, v4, v5

    rsub-int/lit8 v4, v12, 0x0

    int-to-float v8, v4

    const/4 v4, 0x0

    cmpg-float v4, v8, v4

    if-gez v4, :cond_11

    const/high16 v4, 0x43b40000    # 360.0f

    add-float/2addr v8, v4

    :cond_11
    const/high16 v4, 0x43340000    # 180.0f

    cmpl-float v4, v8, v4

    if-lez v4, :cond_12

    const/high16 v4, 0x43b40000    # 360.0f

    sub-float/2addr v8, v4

    :cond_12
    invoke-static {v8}, Ljava/lang/Math;->abs(F)F

    move-result v4

    float-to-int v4, v4

    mul-int/lit16 v4, v4, 0x514

    div-int/lit16 v7, v4, 0xb4

    const/16 v4, 0x28a

    if-le v7, v4, :cond_13

    const/16 v7, 0x28a

    :cond_13
    div-int/lit8 v6, v7, 0x2

    move-object/from16 v0, p0

    iget v10, v0, Lkairo/android/h/e;->b:I

    invoke-virtual/range {p0 .. p0}, Lkairo/android/h/e;->b()V

    invoke-static {}, Ljava/lang/System;->currentTimeMillis()J

    move-result-wide v4

    move v13, v10

    move v14, v12

    move v10, v8

    move v12, v11

    move v11, v9

    move v8, v6

    move v9, v7

    move-wide v6, v4

    :goto_9
    move-object/from16 v0, p0

    iget-object v4, v0, Lkairo/android/h/e;->g:[Z

    move-object/from16 v0, p0

    iget v5, v0, Lkairo/android/h/e;->k:I

    aget-boolean v4, v4, v5

    if-nez v4, :cond_16

    invoke-virtual/range {p0 .. p0}, Lkairo/android/h/e;->b()V

    move-object/from16 v0, p0

    iget-object v4, v0, Lkairo/android/h/e;->g:[Z

    move-object/from16 v0, p0

    iget v5, v0, Lkairo/android/h/e;->k:I

    const/4 v15, 0x1

    aput-boolean v15, v4, v5

    move-object/from16 v0, p0

    iget-object v4, v0, Lkairo/android/h/e;->f:[[I

    move-object/from16 v0, p0

    iget v5, v0, Lkairo/android/h/e;->k:I

    aget-object v4, v4, v5

    const/4 v5, 0x0

    aget v4, v4, v5

    if-gtz v4, :cond_16

    move-object/from16 v0, p0

    iget-object v4, v0, Lkairo/android/h/e;->d:[Lkairo/android/ui/r;

    move-object/from16 v0, p0

    iget v5, v0, Lkairo/android/h/e;->k:I

    aget-object v4, v4, v5

    move-object/from16 v0, p0

    iget-object v5, v0, Lkairo/android/h/e;->e:[Lkairo/android/ui/o;

    move-object/from16 v0, p0

    iget v15, v0, Lkairo/android/h/e;->k:I

    aget-object v5, v5, v15

    move-object/from16 v0, p0

    iget-object v15, v0, Lkairo/android/h/e;->f:[[I

    move-object/from16 v0, p0

    iget v0, v0, Lkairo/android/h/e;->k:I

    move/from16 v16, v0

    aget-object v15, v15, v16

    invoke-direct/range {p0 .. p0}, Lkairo/android/h/e;->k()[I

    move-result-object v16

    const/16 v17, 0x2

    aget v17, v16, v17

    const/16 v21, 0x0

    aget v21, v16, v21

    sub-int v17, v17, v21

    const/16 v21, 0x3

    aget v21, v16, v21

    const/16 v22, 0x1

    aget v16, v16, v22

    sub-int v16, v21, v16

    move-object/from16 v0, v18

    invoke-virtual {v0, v5}, Lkairo/android/ui/a;->a(Lkairo/android/ui/o;)Lkairo/android/ui/o;

    move-result-object v5

    if-eqz v5, :cond_15

    if-eqz v20, :cond_14

    invoke-virtual/range {v20 .. v20}, Lkairo/android/a/b;->i()V

    :cond_14
    const/16 v21, 0x0

    const/16 v22, 0x0

    const/16 v23, 0x0

    move/from16 v0, v21

    move/from16 v1, v22

    move/from16 v2, v23

    invoke-virtual {v5, v0, v1, v2}, Lkairo/android/ui/o;->b(III)V

    const/16 v21, 0x0

    const/16 v22, 0x0

    invoke-virtual {v4}, Lkairo/android/ui/r;->e()I

    move-result v23

    move/from16 v0, v23

    int-to-float v0, v0

    move/from16 v23, v0

    invoke-virtual {v4}, Lkairo/android/ui/r;->d()I

    move-result v4

    int-to-float v4, v4

    move/from16 v0, v21

    move/from16 v1, v22

    move/from16 v2, v23

    invoke-virtual {v5, v0, v1, v2, v4}, Lkairo/android/ui/o;->g(FFFF)V

    const/4 v4, 0x0

    const/16 v21, 0x0

    move/from16 v0, v21

    move/from16 v1, v17

    move/from16 v2, v16

    invoke-virtual {v5, v4, v0, v1, v2}, Lkairo/android/ui/o;->b(IIII)V

    move-object/from16 v0, p0

    invoke-virtual {v0, v5}, Lkairo/android/h/e;->c(Lkairo/android/ui/o;)V

    move-object/from16 v0, v18

    invoke-virtual {v0, v5}, Lkairo/android/ui/a;->b(Lkairo/android/ui/o;)V

    invoke-virtual {v5}, Lkairo/android/ui/o;->t()V

    :cond_15
    const/4 v4, 0x0

    aput v17, v15, v4

    const/4 v4, 0x1

    aput v16, v15, v4

    :cond_16
    invoke-virtual/range {v19 .. v19}, Lkairo/android/ui/IApplication;->i()Z

    move-result v4

    if-nez v4, :cond_3

    invoke-virtual/range {v18 .. v18}, Lkairo/android/ui/a;->b()Lkairo/android/ui/o;
    :try_end_5
    .catch Ljava/lang/Throwable; {:try_start_5 .. :try_end_5} :catch_1

    move-result-object v5

    if-eqz v5, :cond_3

    :try_start_6
    invoke-static {}, Ljava/lang/System;->currentTimeMillis()J

    move-result-wide v15

    sub-long/2addr v15, v6

    long-to-int v0, v15

    move/from16 v21, v0

    move-object/from16 v0, p0

    iget-object v4, v0, Lkairo/android/h/e;->f:[[I

    move-object/from16 v0, p0

    iget v4, v0, Lkairo/android/h/e;->j:I

    move/from16 v0, v21

    if-ge v0, v8, :cond_18

    invoke-virtual/range {v18 .. v18}, Lkairo/android/ui/a;->getWidth()I

    move-result v4

    sub-int/2addr v4, v11

    div-int/lit8 v4, v4, 0x2

    add-int/2addr v4, v11

    const/16 v15, -0x5a

    move/from16 v0, v21

    invoke-static {v11, v4, v8, v0, v15}, Lkairo/android/b/a;->a(IIIII)I

    move-result v16

    invoke-virtual/range {v18 .. v18}, Lkairo/android/ui/a;->getHeight()I

    move-result v4

    sub-int/2addr v4, v12

    div-int/lit8 v4, v4, 0x2

    add-int/2addr v4, v12

    const/16 v15, -0x5a

    move/from16 v0, v21

    invoke-static {v12, v4, v8, v0, v15}, Lkairo/android/b/a;->a(IIIII)I

    move-result v15

    int-to-float v4, v14

    int-to-float v0, v14

    move/from16 v17, v0

    const/high16 v22, 0x40000000    # 2.0f

    div-float v22, v10, v22

    add-float v17, v17, v22

    int-to-float v0, v8

    move/from16 v22, v0

    move/from16 v0, v21

    int-to-float v0, v0

    move/from16 v23, v0

    const/high16 v24, -0x3d4c0000    # -90.0f

    move/from16 v0, v17

    move/from16 v1, v22

    move/from16 v2, v23

    move/from16 v3, v24

    invoke-static {v4, v0, v1, v2, v3}, Lkairo/android/b/a;->a(FFFFF)F

    move-result v17

    move-object/from16 v0, p0

    iget v4, v0, Lkairo/android/h/e;->j:I

    :goto_a
    move-object/from16 v0, p0

    iget-object v0, v0, Lkairo/android/h/e;->f:[[I

    move-object/from16 v22, v0

    aget-object v22, v22, v4

    const/16 v23, 0x0

    aget v22, v22, v23

    if-gtz v22, :cond_17

    add-int/lit8 v4, v4, 0x1

    rem-int/lit8 v4, v4, 0x2

    :cond_17
    move-object/from16 v0, p0

    iget-object v0, v0, Lkairo/android/h/e;->f:[[I

    move-object/from16 v22, v0

    aget-object v22, v22, v4

    move-object/from16 v0, p0

    iget-object v0, v0, Lkairo/android/h/e;->d:[Lkairo/android/ui/r;

    move-object/from16 v23, v0

    aget-object v23, v23, v4

    const/4 v4, 0x0

    const/16 v24, 0x0

    const/16 v25, 0x0

    move/from16 v0, v24

    move/from16 v1, v25

    invoke-virtual {v5, v4, v0, v1}, Lkairo/android/ui/o;->b(III)V

    const/4 v4, 0x0

    const/16 v24, 0x0

    invoke-virtual/range {v18 .. v18}, Lkairo/android/ui/a;->getWidth()I

    move-result v25

    move/from16 v0, v25

    int-to-float v0, v0

    move/from16 v25, v0

    invoke-virtual/range {v18 .. v18}, Lkairo/android/ui/a;->getHeight()I

    move-result v26

    move/from16 v0, v26

    int-to-float v0, v0

    move/from16 v26, v0

    move/from16 v0, v24

    move/from16 v1, v25

    move/from16 v2, v26

    invoke-virtual {v5, v4, v0, v1, v2}, Lkairo/android/ui/o;->g(FFFF)V

    invoke-virtual {v5}, Lkairo/android/ui/o;->a()Ljava/lang/Object;

    move-result-object v4

    check-cast v4, Landroid/graphics/Canvas;

    new-instance v24, Landroid/graphics/Matrix;

    invoke-direct/range {v24 .. v24}, Landroid/graphics/Matrix;-><init>()V

    const/4 v5, 0x0

    aget v5, v22, v5

    neg-int v5, v5

    div-int/lit8 v5, v5, 0x2

    int-to-float v5, v5

    const/16 v25, 0x1

    aget v25, v22, v25

    move/from16 v0, v25

    neg-int v0, v0

    move/from16 v25, v0

    div-int/lit8 v25, v25, 0x2

    move/from16 v0, v25

    int-to-float v0, v0

    move/from16 v25, v0

    move-object/from16 v0, v24

    move/from16 v1, v25

    invoke-virtual {v0, v5, v1}, Landroid/graphics/Matrix;->postTranslate(FF)Z

    move/from16 v0, v16

    int-to-float v5, v0

    const/16 v25, 0x0

    aget v25, v22, v25

    move/from16 v0, v25

    int-to-float v0, v0

    move/from16 v25, v0

    div-float v5, v5, v25

    int-to-float v0, v15

    move/from16 v25, v0

    const/16 v26, 0x1

    aget v22, v22, v26

    move/from16 v0, v22

    int-to-float v0, v0

    move/from16 v22, v0

    div-float v22, v25, v22

    move-object/from16 v0, v24

    move/from16 v1, v22

    invoke-virtual {v0, v5, v1}, Landroid/graphics/Matrix;->postScale(FF)Z

    move-object/from16 v0, v24

    move/from16 v1, v17

    invoke-virtual {v0, v1}, Landroid/graphics/Matrix;->postRotate(F)Z

    invoke-virtual/range {v18 .. v18}, Lkairo/android/ui/a;->getWidth()I

    move-result v5

    div-int/lit8 v5, v5, 0x2

    int-to-float v5, v5

    invoke-virtual/range {v18 .. v18}, Lkairo/android/ui/a;->getHeight()I

    move-result v22

    div-int/lit8 v22, v22, 0x2

    move/from16 v0, v22

    int-to-float v0, v0

    move/from16 v22, v0

    move-object/from16 v0, v24

    move/from16 v1, v22

    invoke-virtual {v0, v5, v1}, Landroid/graphics/Matrix;->postTranslate(FF)Z

    new-instance v22, Landroid/graphics/Paint;

    invoke-direct/range {v22 .. v22}, Landroid/graphics/Paint;-><init>()V

    const/4 v5, 0x1

    move-object/from16 v0, v22

    invoke-virtual {v0, v5}, Landroid/graphics/Paint;->setFilterBitmap(Z)V

    invoke-virtual/range {v23 .. v23}, Lkairo/android/ui/r;->a()Ljava/lang/Object;

    move-result-object v5

    check-cast v5, Landroid/graphics/Bitmap;

    move-object/from16 v0, v24

    move-object/from16 v1, v22

    invoke-virtual {v4, v5, v0, v1}, Landroid/graphics/Canvas;->drawBitmap(Landroid/graphics/Bitmap;Landroid/graphics/Matrix;Landroid/graphics/Paint;)V

    invoke-virtual/range {v19 .. v19}, Lkairo/android/ui/IApplication;->n()I

    move-result v4

    if-eq v13, v4, :cond_1b

    rem-int/lit8 v4, v13, 0x2

    invoke-virtual/range {v19 .. v19}, Lkairo/android/ui/IApplication;->n()I

    move-result v5

    rem-int/lit8 v5, v5, 0x2

    if-ne v4, v5, :cond_1a

    invoke-virtual/range {v18 .. v18}, Lkairo/android/ui/a;->b()Lkairo/android/ui/o;
    :try_end_6
    .catchall {:try_start_6 .. :try_end_6} :catchall_1

    move-result-object v4

    if-nez v4, :cond_19

    :try_start_7
    invoke-virtual/range {v18 .. v18}, Lkairo/android/ui/a;->d()V
    :try_end_7
    .catch Ljava/lang/Throwable; {:try_start_7 .. :try_end_7} :catch_1

    goto/16 :goto_3

    :cond_18
    :try_start_8
    invoke-virtual/range {v18 .. v18}, Lkairo/android/ui/a;->getWidth()I

    move-result v4

    sub-int/2addr v4, v11

    div-int/lit8 v4, v4, 0x2

    add-int/2addr v4, v11

    invoke-virtual/range {v18 .. v18}, Lkairo/android/ui/a;->getWidth()I

    move-result v15

    sub-int v16, v21, v8

    const/16 v17, 0x5a

    move/from16 v0, v16

    move/from16 v1, v17

    invoke-static {v4, v15, v8, v0, v1}, Lkairo/android/b/a;->a(IIIII)I

    move-result v16

    invoke-virtual/range {v18 .. v18}, Lkairo/android/ui/a;->getHeight()I

    move-result v4

    sub-int/2addr v4, v12

    div-int/lit8 v4, v4, 0x2

    add-int/2addr v4, v12

    invoke-virtual/range {v18 .. v18}, Lkairo/android/ui/a;->getHeight()I

    move-result v15

    sub-int v17, v21, v8

    const/16 v22, 0x5a

    move/from16 v0, v17

    move/from16 v1, v22

    invoke-static {v4, v15, v8, v0, v1}, Lkairo/android/b/a;->a(IIIII)I

    move-result v15

    int-to-float v4, v14

    const/high16 v17, 0x40000000    # 2.0f

    div-float v17, v10, v17

    add-float v4, v4, v17

    int-to-float v0, v14

    move/from16 v17, v0

    add-float v17, v17, v10

    int-to-float v0, v8

    move/from16 v22, v0

    sub-int v23, v21, v8

    move/from16 v0, v23

    int-to-float v0, v0

    move/from16 v23, v0

    const/high16 v24, 0x42b40000    # 90.0f

    move/from16 v0, v17

    move/from16 v1, v22

    move/from16 v2, v23

    move/from16 v3, v24

    invoke-static {v4, v0, v1, v2, v3}, Lkairo/android/b/a;->a(FFFFF)F

    move-result v17

    move-object/from16 v0, p0

    iget v4, v0, Lkairo/android/h/e;->k:I

    move-object/from16 v0, p0

    iget v0, v0, Lkairo/android/h/e;->k:I

    move/from16 v22, v0

    move/from16 v0, v22

    move-object/from16 v1, p0

    iput v0, v1, Lkairo/android/h/e;->j:I
    :try_end_8
    .catchall {:try_start_8 .. :try_end_8} :catchall_1

    goto/16 :goto_a

    :catchall_1
    move-exception v4

    :try_start_9
    invoke-virtual/range {v18 .. v18}, Lkairo/android/ui/a;->d()V

    throw v4
    :try_end_9
    .catch Ljava/lang/Throwable; {:try_start_9 .. :try_end_9} :catch_1

    :cond_19
    const/4 v5, 0x0

    const/16 v21, 0x0

    const/16 v22, 0x0

    :try_start_a
    move/from16 v0, v21

    move/from16 v1, v22

    invoke-virtual {v4, v5, v0, v1}, Lkairo/android/ui/o;->b(III)V

    const/4 v5, 0x0

    const/16 v21, 0x0

    invoke-virtual/range {v18 .. v18}, Lkairo/android/ui/a;->getWidth()I

    move-result v22

    move/from16 v0, v22

    int-to-float v0, v0

    move/from16 v22, v0

    invoke-virtual/range {v18 .. v18}, Lkairo/android/ui/a;->getHeight()I

    move-result v23

    move/from16 v0, v23

    int-to-float v0, v0

    move/from16 v23, v0

    move/from16 v0, v21

    move/from16 v1, v22

    move/from16 v2, v23

    invoke-virtual {v4, v5, v0, v1, v2}, Lkairo/android/ui/o;->g(FFFF)V

    invoke-virtual/range {v18 .. v18}, Lkairo/android/ui/a;->d()V
    :try_end_a
    .catchall {:try_start_a .. :try_end_a} :catchall_1

    :cond_1a
    :try_start_b
    invoke-virtual/range {v18 .. v18}, Lkairo/android/ui/a;->d()V

    move-wide v4, v6

    move v6, v8

    move v7, v9

    move/from16 v9, v16

    move v8, v10

    move v10, v11

    move v11, v15

    move/from16 v15, v17

    goto/16 :goto_8

    :cond_1b
    move/from16 v0, v21

    if-lt v0, v9, :cond_1c

    invoke-virtual/range {v18 .. v18}, Lkairo/android/ui/a;->d()V

    goto/16 :goto_3

    :cond_1c
    invoke-virtual/range {v18 .. v18}, Lkairo/android/ui/a;->d()V
    :try_end_b
    .catch Ljava/lang/Throwable; {:try_start_b .. :try_end_b} :catch_1

    move-wide v4, v6

    move v6, v8

    move v7, v9

    move/from16 v9, v16

    move v8, v10

    move v10, v11

    move v11, v15

    move/from16 v15, v17

    goto/16 :goto_8

    :cond_1d
    move v9, v7

    move v11, v10

    move v10, v8

    move v8, v6

    move-wide v6, v4

    goto/16 :goto_9
.end method

.method public abstract b()V
.end method

.method public final b(Lkairo/android/ui/o;)V
    .locals 2

    iget-object v0, p0, Lkairo/android/h/e;->a:Ljava/util/Vector;

    invoke-virtual {v0}, Ljava/util/Vector;->size()I

    move-result v0

    add-int/lit8 v0, v0, -0x1

    move v1, v0

    :goto_0
    if-ltz v1, :cond_0

    iget-object v0, p0, Lkairo/android/h/e;->a:Ljava/util/Vector;

    invoke-virtual {v0, v1}, Ljava/util/Vector;->elementAt(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lkairo/android/h/a;

    invoke-virtual {v0, p1}, Lkairo/android/h/a;->b(Lkairo/android/ui/o;)V

    add-int/lit8 v0, v1, -0x1

    move v1, v0

    goto :goto_0

    :cond_0
    return-void
.end method

.method public final c()V
    .locals 2

    iget-object v0, p0, Lkairo/android/h/e;->a:Ljava/util/Vector;

    invoke-virtual {v0}, Ljava/util/Vector;->size()I

    move-result v0

    add-int/lit8 v0, v0, -0x1

    move v1, v0

    :goto_0
    if-ltz v1, :cond_0

    iget-object v0, p0, Lkairo/android/h/e;->a:Ljava/util/Vector;

    invoke-virtual {v0, v1}, Ljava/util/Vector;->elementAt(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lkairo/android/h/a;

    invoke-virtual {v0}, Lkairo/android/h/a;->a()V

    add-int/lit8 v0, v1, -0x1

    move v1, v0

    goto :goto_0

    :cond_0
    return-void
.end method

.method public c(Lkairo/android/ui/o;)V
    .locals 2

    const/4 v0, 0x0

    move v1, v0

    :goto_0
    iget-object v0, p0, Lkairo/android/h/e;->a:Ljava/util/Vector;

    invoke-virtual {v0}, Ljava/util/Vector;->size()I

    move-result v0

    if-ge v1, v0, :cond_0

    iget-object v0, p0, Lkairo/android/h/e;->a:Ljava/util/Vector;

    invoke-virtual {v0, v1}, Ljava/util/Vector;->elementAt(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lkairo/android/h/a;

    invoke-virtual {v0, p1}, Lkairo/android/h/a;->c(Lkairo/android/ui/o;)V

    add-int/lit8 v0, v1, 0x1

    move v1, v0

    goto :goto_0

    :cond_0
    return-void
.end method

.method public final d()V
    .locals 9

    const/4 v2, 0x0

    move v1, v2

    :goto_0
    iget-object v0, p0, Lkairo/android/h/e;->a:Ljava/util/Vector;

    invoke-virtual {v0}, Ljava/util/Vector;->size()I

    move-result v0

    if-ge v1, v0, :cond_0

    iget-object v0, p0, Lkairo/android/h/e;->a:Ljava/util/Vector;

    invoke-virtual {v0, v1}, Ljava/util/Vector;->elementAt(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lkairo/android/h/a;

    invoke-virtual {v0}, Lkairo/android/h/a;->b()V

    add-int/lit8 v0, v1, 0x1

    move v1, v0

    goto :goto_0

    :cond_0
    move v1, v2

    move v3, v2

    :goto_1
    iget-object v0, p0, Lkairo/android/h/e;->a:Ljava/util/Vector;

    invoke-virtual {v0}, Ljava/util/Vector;->size()I

    move-result v0

    if-ge v1, v0, :cond_1

    iget-object v0, p0, Lkairo/android/h/e;->a:Ljava/util/Vector;

    invoke-virtual {v0, v1}, Ljava/util/Vector;->elementAt(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lkairo/android/h/a;

    invoke-virtual {v0}, Lkairo/android/h/a;->g()I

    move-result v0

    add-int/2addr v3, v0

    add-int/lit8 v0, v1, 0x1

    move v1, v0

    goto :goto_1

    :cond_1
    iget-object v0, p0, Lkairo/android/h/e;->c:[Lkairo/android/h/f;

    array-length v0, v0

    if-ge v0, v3, :cond_2

    new-array v0, v3, [Lkairo/android/h/f;

    iput-object v0, p0, Lkairo/android/h/e;->c:[Lkairo/android/h/f;

    :cond_2
    move v1, v2

    move v4, v2

    :goto_2
    iget-object v0, p0, Lkairo/android/h/e;->a:Ljava/util/Vector;

    invoke-virtual {v0}, Ljava/util/Vector;->size()I

    move-result v0

    if-ge v1, v0, :cond_5

    iget-object v0, p0, Lkairo/android/h/e;->a:Ljava/util/Vector;

    invoke-virtual {v0, v1}, Ljava/util/Vector;->elementAt(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lkairo/android/h/a;

    move v5, v2

    :goto_3
    invoke-virtual {v0}, Lkairo/android/h/a;->g()I

    move-result v6

    if-ge v5, v6, :cond_3

    iget-object v7, p0, Lkairo/android/h/e;->c:[Lkairo/android/h/f;

    add-int/lit8 v6, v4, 0x1

    invoke-virtual {v0, v5}, Lkairo/android/h/a;->a(I)Lkairo/android/h/f;

    move-result-object v8

    aput-object v8, v7, v4

    add-int/lit8 v4, v5, 0x1

    move v5, v4

    move v4, v6

    goto :goto_3

    :cond_3
    add-int/lit8 v0, v1, 0x1

    move v1, v0

    goto :goto_2

    :cond_4
    add-int/lit8 v2, v2, 0x1

    :cond_5
    add-int/lit8 v0, v3, -0x1

    if-ge v2, v0, :cond_7

    add-int/lit8 v0, v3, -0x1

    :goto_4
    if-le v0, v2, :cond_4

    iget-object v1, p0, Lkairo/android/h/e;->c:[Lkairo/android/h/f;

    add-int/lit8 v4, v0, -0x1

    aget-object v1, v1, v4

    invoke-virtual {v1}, Lkairo/android/h/f;->c()I

    move-result v1

    iget-object v4, p0, Lkairo/android/h/e;->c:[Lkairo/android/h/f;

    aget-object v4, v4, v0

    invoke-virtual {v4}, Lkairo/android/h/f;->c()I

    move-result v4

    if-le v1, v4, :cond_6

    iget-object v1, p0, Lkairo/android/h/e;->c:[Lkairo/android/h/f;

    aget-object v1, v1, v0

    iget-object v4, p0, Lkairo/android/h/e;->c:[Lkairo/android/h/f;

    iget-object v5, p0, Lkairo/android/h/e;->c:[Lkairo/android/h/f;

    add-int/lit8 v6, v0, -0x1

    aget-object v5, v5, v6

    aput-object v5, v4, v0

    iget-object v4, p0, Lkairo/android/h/e;->c:[Lkairo/android/h/f;

    add-int/lit8 v5, v0, -0x1

    aput-object v1, v4, v5

    :cond_6
    add-int/lit8 v0, v0, -0x1

    goto :goto_4

    :cond_7
    add-int/lit8 v0, v3, -0x1

    :goto_5
    if-ltz v0, :cond_8

    iget-object v1, p0, Lkairo/android/h/e;->c:[Lkairo/android/h/f;

    aget-object v1, v1, v0

    iget-object v2, v1, Lkairo/android/h/f;->a:Lkairo/android/h/a;

    invoke-virtual {v2, v1}, Lkairo/android/h/a;->a(Lkairo/android/h/f;)Z

    move-result v1

    if-nez v1, :cond_8

    add-int/lit8 v0, v0, -0x1

    goto :goto_5

    :cond_8
    iget-object v0, p0, Lkairo/android/h/e;->a:Ljava/util/Vector;

    invoke-virtual {v0}, Ljava/util/Vector;->size()I

    move-result v0

    add-int/lit8 v0, v0, -0x1

    move v1, v0

    :goto_6
    if-ltz v1, :cond_9

    iget-object v0, p0, Lkairo/android/h/e;->a:Ljava/util/Vector;

    invoke-virtual {v0, v1}, Ljava/util/Vector;->elementAt(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lkairo/android/h/a;

    invoke-virtual {v0}, Lkairo/android/h/a;->c()V

    add-int/lit8 v0, v1, -0x1

    move v1, v0

    goto :goto_6

    :cond_9
    return-void
.end method

.method public d(Lkairo/android/ui/o;)V
    .locals 13

    const/16 v12, 0xff

    const/4 v2, 0x0

    move v1, v2

    :goto_0
    iget-object v0, p0, Lkairo/android/h/e;->a:Ljava/util/Vector;

    invoke-virtual {v0}, Ljava/util/Vector;->size()I

    move-result v0

    if-ge v1, v0, :cond_1

    iget-object v0, p0, Lkairo/android/h/e;->a:Ljava/util/Vector;

    invoke-virtual {v0, v1}, Ljava/util/Vector;->elementAt(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lkairo/android/h/a;

    invoke-virtual {v0}, Lkairo/android/h/a;->i()I

    move-result v3

    int-to-double v3, v3

    const-wide/high16 v5, 0x4059000000000000L    # 100.0

    div-double v4, v3, v5

    invoke-virtual {v0}, Lkairo/android/h/a;->g()I

    move-result v3

    add-int/lit8 v3, v3, -0x1

    :goto_1
    if-ltz v3, :cond_0

    invoke-virtual {v0, v3}, Lkairo/android/h/a;->a(I)Lkairo/android/h/f;

    move-result-object v6

    invoke-virtual {p1, v2, v12, v12}, Lkairo/android/ui/o;->b(III)V

    const/4 v7, 0x1

    const/16 v8, 0x20

    const/16 v9, 0xdf

    invoke-virtual {p1, v7, v8, v9}, Lkairo/android/ui/o;->c(III)V

    invoke-virtual {v0}, Lkairo/android/h/a;->j()I

    move-result v7

    iget v8, v6, Lkairo/android/h/f;->c:I

    int-to-double v8, v8

    mul-double/2addr v8, v4

    double-to-int v8, v8

    add-int/2addr v7, v8

    int-to-float v7, v7

    invoke-virtual {v0}, Lkairo/android/h/a;->k()I

    move-result v8

    iget v9, v6, Lkairo/android/h/f;->d:I

    int-to-double v9, v9

    mul-double/2addr v9, v4

    double-to-int v9, v9

    add-int/2addr v8, v9

    int-to-float v8, v8

    iget v9, v6, Lkairo/android/h/f;->e:I

    int-to-double v9, v9

    mul-double/2addr v9, v4

    double-to-int v9, v9

    int-to-float v9, v9

    iget v10, v6, Lkairo/android/h/f;->f:I

    int-to-double v10, v10

    mul-double/2addr v10, v4

    double-to-int v10, v10

    int-to-float v10, v10

    invoke-virtual {p1, v7, v8, v9, v10}, Lkairo/android/ui/o;->g(FFFF)V

    invoke-virtual {p1}, Lkairo/android/ui/o;->m()V

    invoke-virtual {p1, v12, v2, v2}, Lkairo/android/ui/o;->b(III)V

    invoke-virtual {v0}, Lkairo/android/h/a;->j()I

    move-result v7

    iget v8, v6, Lkairo/android/h/f;->c:I

    int-to-double v8, v8

    mul-double/2addr v8, v4

    double-to-int v8, v8

    add-int/2addr v7, v8

    int-to-float v7, v7

    invoke-virtual {v0}, Lkairo/android/h/a;->k()I

    move-result v8

    iget v9, v6, Lkairo/android/h/f;->d:I

    int-to-double v9, v9

    mul-double/2addr v9, v4

    double-to-int v9, v9

    add-int/2addr v8, v9

    int-to-float v8, v8

    iget v9, v6, Lkairo/android/h/f;->e:I

    int-to-double v9, v9

    mul-double/2addr v9, v4

    double-to-int v9, v9

    add-int/lit8 v9, v9, -0x1

    int-to-float v9, v9

    iget v6, v6, Lkairo/android/h/f;->f:I

    int-to-double v10, v6

    mul-double/2addr v10, v4

    double-to-int v6, v10

    add-int/lit8 v6, v6, -0x1

    int-to-float v6, v6

    invoke-virtual {p1, v7, v8, v9, v6}, Lkairo/android/ui/o;->d(FFFF)V

    add-int/lit8 v3, v3, -0x1

    goto :goto_1

    :cond_0
    add-int/lit8 v0, v1, 0x1

    move v1, v0

    goto/16 :goto_0

    :cond_1
    return-void
.end method

.method public final e()V
    .locals 1

    const/4 v0, 0x0

    invoke-virtual {p0, v0}, Lkairo/android/h/e;->a(Z)V

    return-void
.end method

.method public final f()V
    .locals 2

    iget-object v0, p0, Lkairo/android/h/e;->a:Ljava/util/Vector;

    invoke-virtual {v0}, Ljava/util/Vector;->size()I

    move-result v0

    add-int/lit8 v0, v0, -0x1

    move v1, v0

    :goto_0
    if-ltz v1, :cond_0

    iget-object v0, p0, Lkairo/android/h/e;->a:Ljava/util/Vector;

    invoke-virtual {v0, v1}, Ljava/util/Vector;->elementAt(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lkairo/android/h/a;

    invoke-virtual {v0}, Lkairo/android/h/a;->o()V

    add-int/lit8 v0, v1, -0x1

    move v1, v0

    goto :goto_0

    :cond_0
    return-void
.end method

.method public final g()V
    .locals 2

    iget-object v0, p0, Lkairo/android/h/e;->a:Ljava/util/Vector;

    invoke-virtual {v0}, Ljava/util/Vector;->size()I

    move-result v0

    add-int/lit8 v0, v0, -0x1

    :goto_0
    if-ltz v0, :cond_0

    iget-object v1, p0, Lkairo/android/h/e;->a:Ljava/util/Vector;

    invoke-virtual {v1, v0}, Ljava/util/Vector;->elementAt(I)Ljava/lang/Object;

    invoke-static {}, Lkairo/android/h/a;->p()V

    add-int/lit8 v0, v0, -0x1

    goto :goto_0

    :cond_0
    return-void
.end method

.method public final h()V
    .locals 2

    iget-object v0, p0, Lkairo/android/h/e;->a:Ljava/util/Vector;

    invoke-virtual {v0}, Ljava/util/Vector;->size()I

    move-result v0

    add-int/lit8 v0, v0, -0x1

    move v1, v0

    :goto_0
    if-ltz v1, :cond_0

    iget-object v0, p0, Lkairo/android/h/e;->a:Ljava/util/Vector;

    invoke-virtual {v0, v1}, Ljava/util/Vector;->elementAt(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lkairo/android/h/a;

    invoke-virtual {v0}, Lkairo/android/h/a;->q()V

    add-int/lit8 v0, v1, -0x1

    move v1, v0

    goto :goto_0

    :cond_0
    return-void
.end method

.method public final i()V
    .locals 2

    iget-object v0, p0, Lkairo/android/h/e;->a:Ljava/util/Vector;

    invoke-virtual {v0}, Ljava/util/Vector;->size()I

    move-result v0

    add-int/lit8 v0, v0, -0x1

    move v1, v0

    :goto_0
    if-ltz v1, :cond_0

    iget-object v0, p0, Lkairo/android/h/e;->a:Ljava/util/Vector;

    invoke-virtual {v0, v1}, Ljava/util/Vector;->elementAt(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lkairo/android/h/a;

    invoke-virtual {v0}, Lkairo/android/h/a;->r()V

    add-int/lit8 v0, v1, -0x1

    move v1, v0

    goto :goto_0

    :cond_0
    return-void
.end method

.method public final j()V
    .locals 3

    const/4 v2, 0x0

    iget-object v0, p0, Lkairo/android/h/e;->d:[Lkairo/android/ui/r;

    if-eqz v0, :cond_0

    iget-object v0, p0, Lkairo/android/h/e;->d:[Lkairo/android/ui/r;

    const/4 v1, 0x0

    aget-object v0, v0, v1

    if-nez v0, :cond_1

    :cond_0
    return-void

    :cond_1
    iget-object v0, p0, Lkairo/android/h/e;->d:[Lkairo/android/ui/r;

    array-length v0, v0

    add-int/lit8 v0, v0, -0x1

    :goto_0
    if-ltz v0, :cond_0

    iget-object v1, p0, Lkairo/android/h/e;->e:[Lkairo/android/ui/o;

    aget-object v1, v1, v0

    if-eqz v1, :cond_2

    iget-object v1, p0, Lkairo/android/h/e;->e:[Lkairo/android/ui/o;

    aget-object v1, v1, v0

    invoke-virtual {v1}, Lkairo/android/ui/o;->d()V

    :cond_2
    iget-object v1, p0, Lkairo/android/h/e;->e:[Lkairo/android/ui/o;

    aput-object v2, v1, v0

    iget-object v1, p0, Lkairo/android/h/e;->d:[Lkairo/android/ui/r;

    aget-object v1, v1, v0

    if-eqz v1, :cond_3

    iget-object v1, p0, Lkairo/android/h/e;->d:[Lkairo/android/ui/r;

    aget-object v1, v1, v0

    invoke-virtual {v1}, Lkairo/android/ui/r;->f()V

    :cond_3
    iget-object v1, p0, Lkairo/android/h/e;->d:[Lkairo/android/ui/r;

    aput-object v2, v1, v0

    add-int/lit8 v0, v0, -0x1

    goto :goto_0
.end method
